home *** CD-ROM | disk | FTP | other *** search
/ PCNet 2006 April / PCnet 2006-06.4.iso / shareware / nmsetup.exe / WebServer / web / panels.php < prev    next >
Encoding:
PHP Script  |  2006-05-01  |  2.5 KB  |  53 lines

  1. <?php
  2. ////////////////////////////////////////////////////////////////////////////////
  3. // <!--Copyright (c) 2005 Pure Networks Inc.  All rights reserved.-->
  4. ////////////////////////////////////////////////////////////////////////////////
  5. //
  6. // Build: 3.0.6121.0 (Stable)
  7. // $Revision: #1 $
  8. //
  9. ////////////////////////////////////////////////////////////////////////////////////
  10. // GLOBAL TOP PANELS - PANELS DEFINED HERE ARE VISIBLE ON EVERY PAGE THAT SHOWS PANELS
  11. // To make non-global, delete from here and follow the directions below to place in
  12. // only the specific locations you want the panel to appear.  These panels appear _FIRST_
  13. ////////////////////////////////////////////////////////////////////////////////////
  14. require "_network_map.php";
  15. switch ($sNavPage)
  16. {
  17.     //////////////////////////////////////////
  18.     // which panels do we show in which cases?
  19.     //////////////////////////////////////////
  20.     case "folders":
  21.         // Folder view - This is the page that presents a folder/share's contents.
  22.         require "_tasks_panel.php";
  23.         break;
  24.     case "details":
  25.         // Details view - This is the page that presents a mid-size image with its details.
  26.         require "_details_panel.php";
  27.         require "_tasks_panel.php";
  28.         break;
  29.     case "share":
  30.         // Share list view - This is the page that lists all the available shares.
  31.         require "_tasks_panel.php";
  32.         break;
  33.      case "help":
  34.         // Help Page - This is the page that displays the help.
  35.         require "_tasks_panel.php"; 
  36.         break;
  37.      case "preferences":
  38.         // Preferences Page - This is the page that allows a site owner to change preferecnes.
  39.         require "_tasks_panel.php";
  40.         break;
  41.      default:
  42.         // This configuration is a fallback in case someone adds a custom page of some sort and forgets 
  43.         // to add their case to the list above.  This makes sure that these panels are always shown 
  44.         // if the panels.php file is ever included.
  45.         require "_tasks_panel.php";
  46.         break;
  47. }
  48. ////////////////////////////////////////////////////////////////////////////////////
  49. // GLOBAL BOTTOM PANELS - PANELS DEFINED HERE ARE VISIBLE ON EVERY PAGE THAT SHOWS PANELS
  50. // To make non-global, delete from here and follow the directions below to place in
  51. // only the specific locations you want the panel to appear.  These panels appear _LAST_
  52. ////////////////////////////////////////////////////////////////////////////////////
  53. ?>